#include <stdio.h>
#include <sys/wait.h>
#include <string.h>

const int BUFF_SIZE = 10;

int main() {
    char buf[BUFF_SIZE];
    int len;

    while(fgets(buf, BUFF_SIZE, stdin) != 0) {
        len = strlen(buf);
        if (len == 1) 
            continue;
        if (buf[len - 1] == '\n') {
            buf[len - 1] = 0;
        }
        printf("%s\n", buf);
    }


    return 0;
}
